package com.yuda.campsite.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 campsite_work_teacher
 *
 * @author wyn
 * @date 2021-12-06
 */
public class CampsiteWorkTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 引用 camp_conf表的主键 */
    @Excel(name = "引用 camp_conf表的主键")
    private Long campId;

    /** 作业名称 */
    @Excel(name = "作业名称")
    private String workName;

    /** 第几次作业 */
    @Excel(name = "第几次作业")
    private Long workNum;

    /** 作业内容 */
    @Excel(name = "作业内容")
    private String workContext;

    /** 作业发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "作业发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /** 作业截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "作业截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 作业删除 1：删除  0：未删 */
    @Excel(name = "作业删除 1：删除  0：未删")
    private Integer idDelete;

    /** 作业附件 url */
    @Excel(name = "作业附件 url")
    private String enclosureUrl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCampId() {
        return campId;
    }

    public void setCampId(Long campId) {
        this.campId = campId;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public Long getWorkNum() {
        return workNum;
    }

    public void setWorkNum(Long workNum) {
        this.workNum = workNum;
    }

    public String getWorkContext() {
        return workContext;
    }

    public void setWorkContext(String workContext) {
        this.workContext = workContext;
    }

    public Date getStartTime() {
        return startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getIdDelete() {
        return idDelete;
    }

    public void setIdDelete(Integer idDelete) {
        this.idDelete = idDelete;
    }

    public String getEnclosureUrl() {
        return enclosureUrl;
    }

    public void setEnclosureUrl(String enclosureUrl) {
        this.enclosureUrl = enclosureUrl;
    }

    @Override
    public String toString() {
        return "CampsiteWorkTeacher{" +
                "id=" + id +
                ", campId=" + campId +
                ", workName='" + workName + '\'' +
                ", workNum=" + workNum +
                ", workContext='" + workContext + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", idDelete=" + idDelete +
                ", enclosureUrl='" + enclosureUrl + '\'' +
                '}';
    }
}
